/* 公共样式 */
.container{width: 1226px;margin: 0 auto;min-width: 1226px;}
body{font:14px/1.5 'Helvetica Neue',Helvetica,Arial,'Microsoft Yahei','Hiragino Sans GB','Heiti SC','WenQuanYi Micro Hei',sans-serif;}

.cleafix::before,
.cleafix::after{
    content: "";
    display: table;
    clear: both;
}
/* 顶部代码 */
.page-top{height: 40px;background: #333;font-size: 12px;}
.page-top .top-lt{
    line-height: 40px;
    float: left;
}
.page-top .top-lt a{
    color: #b0b0b0;
}
.page-top .top-lt a:hover{
    color: #fff;
}
.page-top .top-lt .download{
    position: relative;
}
.page-top .top-lt .download:hover::before{
    content: "";
    width: 0;
    height: 0;
    border: 10px solid transparent;
    position: absolute;
    bottom: -13px;
    border-bottom-color: white;
    left: 12px;
}
.page-top .top-lt .download:hover .down-box{
    /* display: block; */
    height: 148px;
}
.page-top .top-lt .down-box{
    width: 124px;
    position: absolute;
    box-shadow: 0 1px 5px #aaa;
    background: white;
    text-align: center;
    left: -80%;
    line-height: 1;
    height: 0;
    overflow: hidden;
    transition: height 0.3s;
    z-index: 30;
    /* display: none; */
}
.page-top .top-lt .down-box img{
    height: 90px;
    display: block;
    margin: 18px auto 12px;
}
.page-top .top-lt .down-box i{
    color: black;
}
.page-top .top-lt span{
    color: #424242;
    margin: 0.3em;
}

.page-top .top-rt{
    width: 300px;
    float: right;
}
.page-top .top-rt .login{
    float: right;
    line-height: 40px;
    height: 40px;
}
.page-top .top-rt a{
    color: #b0b0b0;
    padding: 0 5px;
}
.page-top .top-rt .login span{
    color: #424242;
}
.page-top .top-rt .car-box{
    float: right;
    position: relative;
    margin-left: 15px;
}
.page-top .top-rt .car-box .car{
    display: block;
    position: relative;
    z-index: 30;
    color: #b0b0b0;
    background: #424242;
    width: 120px;
    line-height: 40px;
    height: 40px;
    text-align: center;
}
.page-top .top-rt .car-box .icon-gouwuche{
    margin-right: 2px;
    font-size: 16px;
}
.page-top .top-rt .car-box .car:hover{
    background: #fff;
    color: #424242;
}
.page-top .top-rt .car-box:hover .car{
    color: #ff6700;
}
.page-top .top-rt .car-box:hover .car-menu{
    height: 100px;
}
.page-top .top-rt .car-box .car-menu{
    z-index: 29;
    height: 0;
    overflow: hidden;
    width: 316px;
    background: #fff;
    position: absolute;
    right: 0;
    top:40px;
    overflow: hidden;
    text-align: center;
    line-height: 100px;
    transition: height 0.25s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 15%);
    transform: scale(1);
}
.car-box .car-menu .loading::after,
.top-rt .car-box .car-menu .loading::before{
    content: "";
    position: absolute;
    top:50%;
    left: 50%;
    background: #ff6700;
    width: 4px;
    height: 20px;
}
.car-box .car-menu .loading{
    display: block;
    line-height: 100px;
    height: 100px;
}
.car-box .car-menu .loading,
.car-box .car-menu span{
    line-height: 100px;
    height: 100px;
}
.loading,.loading::after,.loading::before{
    animation-name: loader;
    animation-direction: alternate-reverse;
    animation-duration: 0.3s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
.car-box .car-menu .loading::before{
    margin: -10px 0 0 -10px;
    animation-delay: .25s;
    transform: scaleY(.3)
}
.car-box .car-menu .loading::after{
    margin: -10px 0 0 6px;
    animation-delay: .5s;
    transform: scaleY(.5)
}
.page-top .top-rt .car-box .car-menu .loading::before{
    animation-delay: 0.25s;
    transform: scale(0.3);
}

@keyframes loader{
    0%{
        transform: scale(0.5);
        opacity: 0.2;
    }
    100%{
        transform: scale(1);
        opacity: 1;
    }
}



/* 头部 */
.header-top{
    height: 100px;
    position: relative;
    z-index: 20;
}
.header-top .logo{
    float: left;
    margin-top: 22px;
}
.header-top .logo a{
    display: block;
    width: 55px;
    height: 55px;
}
.header-top .logo img{
    width: 100%;
    height: 100%;
}
.header-top .logo a:active{
    transform: scale(0.9);
}

.header-top .nav{
    margin-left: 7px;
    float: left;
}
.header-top .nav .nav-item{
    height: 100px;
    line-height: 100px;
    padding-left: 28px;
}
.header-top .nav .nav-item> li{
    float: left;
}
.header-top .nav .nav-item li a{
    font-size: 16px;
    margin: 0 10px;
    display: block;
}
.header-top .nav .nav-item li a:hover{
    color: #ff6700;
}
.header-top .nav .nav-item>li:nth-child(1){
    margin-left: 30px;
}
.all-goods{
    visibility: hidden;
}
.nav-item li:not(:nth-last-of-type(1)):not(:nth-last-of-type(2)):not(:first-child):hover ~ .goods-info,
.nav .goods-info:hover{
    height: 228px;
    box-shadow: 0 3px 3px rgb(0, 0, 0,0.2);
    border: 1px solid rgb(224, 224, 224);
}
.nav .goods-info{
    /* height: 228px; */
    height: 0;
    overflow: hidden;
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 20;
    transition: height 0.3s;
}

.search-wrapper{
    width: 296px;
    height: 50px;
    float: right;
    margin-top: 25px;
}
.search-wrapper .search-inp{
    float: left;
    height: 50px;
    width: 244px;
    border: 1px solid rgb(224, 224, 224);
    border-right: none;
    padding: 0 10px;
    font-size: 16px;
}
.search-wrapper .search-btn{
    float: left;
    height: 50px;
    width: 52px;
    background: #fff;
    border: 1px solid rgb(224, 224, 224);
}

/* 设置左侧导航 */
.all-goods-wrapper{
    position: relative;
}
.left-menu{
    width: 234px;
    height: 460px;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    z-index: 10;
    left: -120px;
    top: 100px;
    line-height: 1;
}
.nav-item .all-goods-wrapper .left-menu li a{
    position: relative;
    padding-left: 30px;
    margin: 0;
    display: block;
    height: 42px;
    line-height: 42px;
    color: white;
}
.nav-item .all-goods-wrapper .left-menu li a:hover{
    color: white;
    background: #ff6700;
}
.left-menu a i{
    position: absolute;
    right: 20px;
}

/* 轮播图 */
.banner{
    position: relative;
    height: 460px;
}
.banner .img-list li{
    position: absolute;
    opacity: 0;
}
.banner-wapper .banner a img{
    width: 1226px;
    height: 460px;
    vertical-align: top;
}
.banner .img-list li:nth-child(1){
    opacity: 1;
}
.pointer{
    z-index: 2;
    position: absolute;
    right: 30px;
    bottom: 20px;
}
.pointer a{
    float: left;
    width: 6px;
    height: 6px;
    border: 2px rgba(255, 255, 255, 0.4) solid;
    box-sizing: content-box;
    margin: 0 4px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
}
.pointer a:hover,
.pointer .active{
    border-color:rgba(0, 0, 0, 0.4);
    background-color: rgba(255, 255, 255, 0.4);
}
.prev-next a{
    width: 41px;
    height: 69px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    background-image: url(../img/icon-slides.png);
}
.prev-next .prev{
    z-index: 2;
    left: 234px;
    background-position: -84px 50%;
}
.prev-next .prev:hover{
    background-position: 0 0;
}
.prev-next .next{
    z-index: 2;
    right: 0;
    background-position: -125px 50%;
}
.prev-next .next:hover{
    background-position: -42px 50%;
}

/* 右侧工具条 */
.to-top{
    width: 26px;
    /* 固定定位  */
    position: fixed;
    bottom: 70px;
    /*
        left + margin-left + width + margin-right + right = 视口宽度 
     */
     right: 50%;
     margin-right: -639px;
     background-color: #fff;
}
.to-top li{
    height: 40px;
    border: 1px solid #f5f5f5;
    text-align: center;
    line-height: 40px;
}
.to-top li a:hover{
    color: #ff6700;
}

/* 广告区 */
.ad{
    height: 170px;
    margin: 14px 0;
}
.ad .shortcut,
.ad .shortcut li,
.ad .ad-img,
.ad .ad-img li{
    float: left;
}
.ad .shortcut{
    width: 234px;
    height: 170px;
    background-color: #5f5750;
    margin-right: 14px;
    padding: 3px;
}
.ad .shortcut a{
    display: block;
    color: #cfccca;
    opacity: 0.7;
    padding-top: 18px;
    text-align: center;
}
.ad .shortcut a:hover{
    color: #fff;
    opacity: 1;
}
.ad .shortcut a img{
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto 4px;
}
.ad .shortcut li{
    position: relative;
    height: 82px;
    width: 76px;
    padding: 0 3px;
}
.ad .shortcut li::before{
    content: "";
    position: absolute;
    width: 64px;
    height: 1px;
    background-color: #665e57;
    left: 0;
    right: 0;
    top: -1px;
    margin: 0 auto;
}
.ad .shortcut li::after{
    content: "";
    position: absolute;
    width: 1px;
    height: 70px;
    background-color: #665e57;
    top: 0;
    bottom: 0;
    margin: auto 0;
}
.ad .ad-img li{
    width: 316px;
    margin-right: 15px;
}
.ad .ad-img li:hover{
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.ad .ad-img li:last-child{
    margin-right: 0;
}
.ad .ad-img img{
    width: 100%;
}